Solution:
path1 = 'youtube.com/watch?v=5EhRztVxums' path2 = 'google.com/search?q=car' print(f"path1: {path1.startswith('youtube')}") print(f"path2: {path2.startswith('youtube')}")